package com.suning.sawp.po.bi;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

/**
 * 
 * 未处理BI文件记录日志<br> 
 * 〈功能详细描述〉
 *
 * @author 12061818
 * @see [相关类/方法]（可选）
 * @since [产品/模块版本] （可选）
 */
@Entity(name = "UN_DEAL_BI_FILE_LOG")
public class UnDealBiFileLog implements Serializable {

    /**
     */
    private static final long serialVersionUID = -155736720827483754L;

    /**
     * 未处理
     */
    public static final String UN_DEAL = "0";
    
    /**
     * 已处理
     */
    public static final String HAD_DEAL = "1";
    
    /**
     * 未处理，需人工干预，这种一般是文件有较多行记录错误
     */
    public static final String UN_DEAL_NO_AUTO = "2";
    
    private Long id;
    
    /**
     * 统计日期
     */
    private String statisDate;
    
    /**
     * BI文件名称
     */
    private String biFileName;
    
    /**
     * 任务处理状态
     */
    private String status;
    
    /**
     * 记录创建时间
     */
    private Date createTime;
    
    /**
     * 记录更新时间
     */
    private Date updateTime;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "ID")
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Column(name = "STATIS_DATE")
    public String getStatisDate() {
        return statisDate;
    }

    public void setStatisDate(String statisDate) {
        this.statisDate = statisDate;
    }

    @Column(name = "BI_FILE_NAME")
    public String getBiFileName() {
        return biFileName;
    }

    public void setBiFileName(String biFileName) {
        this.biFileName = biFileName;
    }

    @Column(name = "STATUS")
    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Column(name = "CREATE_TIME")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Column(name = "UPDATE_TIME")
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    
}
